package com.ruanyun.modular.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 措施信息
 * </p>
 *
 * @author zs
 * @since 2021-05-11
 */
@TableName("t_measures")
public class TMeasures implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 综合措施类型id（减排id）
     */
    @TableField("red_id")
    private Integer redId;

    /**
     * 减排类型   源头替代  过程控制  末端治理 
     */
    @TableField("red_type")
    private Integer redType;

    /**
     * 措施类型  1强制性措施  2推荐性措施 
     */
    @TableField("measure_type")
    private Integer measureType;

    /**
     * 措施内容
     */
    @TableField("measure_info")
    private String measureInfo;

    /**
     * 计划完成时间
     */
    @TableField("plan_time")
    private Date planTime;

    /**
     * 减排估算
     */
    @TableField("estimate")
    private String estimate;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

   /*单位*/
    @TableField("units")
    private String units;

    /**
     * 创建时间
     */
    @TableField("creatime")
    private Date creatime;

    /**
     * 是否删除
     */
    @TableField("del_flag")
    private Integer delFlag;


    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRedId() {
        return redId;
    }

    public void setRedId(Integer redId) {
        this.redId = redId;
    }

    public Integer getRedType() {
        return redType;
    }

    public void setRedType(Integer redType) {
        this.redType = redType;
    }

    public Integer getMeasureType() {
        return measureType;
    }

    public void setMeasureType(Integer measureType) {
        this.measureType = measureType;
    }

    public String getMeasureInfo() {
        return measureInfo;
    }

    public void setMeasureInfo(String measureInfo) {
        this.measureInfo = measureInfo;
    }

    public Date getPlanTime() {
        return planTime;
    }

    public void setPlanTime(Date planTime) {
        this.planTime = planTime;
    }

    public String getEstimate() {
        return estimate;
    }

    public void setEstimate(String estimate) {
        this.estimate = estimate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatime() {
        return creatime;
    }

    public void setCreatime(Date creatime) {
        this.creatime = creatime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "TMeasures{" +
        "id=" + id +
        ", redId=" + redId +
        ", redType=" + redType +
        ", measureType=" + measureType +
        ", measureInfo=" + measureInfo +
        ", planTime=" + planTime +
        ", estimate=" + estimate +
        ", remark=" + remark +
        ", creatime=" + creatime +
        ", delFlag=" + delFlag +
                ", units=" + units +

        "}";
    }
}
